import { Dispatch, SetStateAction } from "react"

interface IModalConfig {
  title: string
  visible: boolean
}

export interface IModalProps<T> {
  form: T
  setForm: Dispatch<SetStateAction<T>>
  modalConfig: IModalConfig
  setModalConfig: Dispatch<SetStateAction<IModalConfig>>
}
